package com.mxf.code.state_factory2;

import lombok.Data;

/**
 * state切换包含类
 *
 * @author 28382
 */
@Data
public class StateContext {
    private State state;

    public void setState(State state) {
        this.state = state;
    }

    public State getState() {
        return state;
    }
}
